// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Engine/GameEngine.h"
#include "StoneGameEngine.generated.h"

/**
 * 
 */
UCLASS()
class STUMGWINDOWS_API UStoneGameEngine : public UGameEngine
{
	GENERATED_BODY()
private:

	 void CreateGameViewportWidget(UGameViewportClient* GameViewportClient);

	 void CreateGameViewport(UGameViewportClient* GameViewportClient);

public:
	virtual void Init(class IEngineLoop* InEngineLoop) override;

	static TSharedRef<SWindow> CreateGameWindow();

private:
	TSharedPtr<class FSTTabTestToolkit>  tabMgr;

	void CloseOldWindow();
	
};
